import request from '@/config/axios'
/**
 * 分页查询库存
 */
export const pageQuery = (params) => {
  return request.get({ url: '/material/stock/page-query', params })
}

/**
 * 批量查询明细
 */
export const getListByDetail = (data) => {
  return request.post({ url: '/material/stock/get-list-by-detail', data })
}

/**
 * 获取单个库存明细
 */
export const singleGetByDetail = (params) => {
  return request.get({ url: '/material/stock/single-get-by-detail', params })
}
